package com.purchase.ml.entity.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_order_msg")
@ApiModel(value = "SysOrderMsg", description = "订单消息表")
public class SysOrderMsg implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "")
    private Long id;

    /**
     * 单号
     */
    @TableField(value = "oid")
    @ApiModelProperty(value = "单号")
    private Long oid;

    /**
     * 买家留言
     */
    @TableField(value = "buyer_msg")
    @ApiModelProperty(value = "买家留言")
    private String buyerMsg;

    /**
     * 发货留言
     */
    @TableField(value = "seller_msg")
    @ApiModelProperty(value = "发货留言")
    private String sellerMsg;

    private static final long serialVersionUID = 1L;
}